#include<iostream>
#include<unistd.h>
using namespace std;

int main()
{
    while(true)
    {
        int i = 0;
        while(i != 1e9)
        {
            ++i;
        }
        
        cout<<"my_pid:"<<getpid()<<endl;
        cout<<"ppid:"<<getppid()<<endl;
    }
    
    return 0;
}
